package com.systop.asset.mapper;

import java.util.List;
import com.systop.asset.entity.AssetAssignmentsDetail;

/**
 * 资产领用详情Mapper接口
 * 
 * @author mc
 * @date 2025-07-02
 */
public interface AssetAssignmentsDetailMapper 
{
    /**
     * 查询资产领用详情
     * 
     * @param id 资产领用详情主键
     * @return 资产领用详情
     */
    public AssetAssignmentsDetail selectAssetAssignmentsDetailById(Long id);

    /**
     * 查询资产领用详情列表
     * 
     * @param assetAssignmentsDetail 资产领用详情
     * @return 资产领用详情集合
     */
    public List<AssetAssignmentsDetail> selectAssetAssignmentsDetailList(AssetAssignmentsDetail assetAssignmentsDetail);

    /**
     * 新增资产领用详情
     * 
     * @param assetAssignmentsDetail 资产领用详情
     * @return 结果
     */
    public int insertAssetAssignmentsDetail(AssetAssignmentsDetail assetAssignmentsDetail);

    /**
     * 修改资产领用详情
     * 
     * @param assetAssignmentsDetail 资产领用详情
     * @return 结果
     */
    public int updateAssetAssignmentsDetail(AssetAssignmentsDetail assetAssignmentsDetail);

    /**
     * 删除资产领用详情
     * 
     * @param id 资产领用详情主键
     * @return 结果
     */
    public int deleteAssetAssignmentsDetailById(Long id);

    /**
     * 批量删除资产领用详情
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAssetAssignmentsDetailByIds(Long[] ids);
    /**
     * 批量插入资产领用详情
     *
     * @param assetAssignmentsDetails 要批量新增的资产领用详情对象列表
     * @return 结果
     */
    public int insertAssignmentBatch(List<AssetAssignmentsDetail> assetAssignmentsDetails);
}
